import actionTypes from './action-types'
import mutationTypes from './mutation-types'
import ViewModels from 'SRC/viewModels/viewModels.js'

export default {
  async [actionTypes.GET_{{ vm.UnderScoreCaseName }}] ({ commit }, data) {
    commit(mutationTypes.SET_{{ vm.UnderScoreCaseName }}, ViewModels.{{ vm.startCaseName }}VM.transform({}))
  },
  async [actionTypes.SAVE_{{ vm.UnderScoreCaseName }}] ({ commit }, data) {
    return null
  }
}
